package com.learn.hibernatevalidator.chapter02.classlevel;

import lombok.Data;

import java.util.List;

/**
 * @author: liyf
 * @create: 2024-12-21 21:31
 **/
@ValidPassengerCount
@Data
public class Car {

    private int seatCount;

    private List<Person> passengers;
}
